﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1_Samp_ArrisToomnry
{
    class Program
    {
        static void Main(string[] args)
        {
            ReferenceAndValue.Demonstration();
            Console.ReadLine();
        }
    }
    public class stamp_nge
    {
        public string Name { get; set; }
        public uint Age { get; set; }
    }
    public static class ReferenceAndValue
    {
        public static void Demonstration()
        {
            stamp_nge studengt1 = new stamp_nge { Name = "Name_Page:", Age = 22 };
            stamp_nge studentg2 = new stamp_nge { Name = "lnPareitender:", Age = 18 };
            uint age;
            age = studengt1.Age;
            Console.WriteLine("Name:{0}{1}", studengt1.Name, " ??? ;");
            Console.WriteLine("age:{0}", studengt1.Age);
            Console.WriteLine("Name2:{0}", studentg2.Name);
            Console.WriteLine("age2:{0}", studentg2.Age);
            stamp_nge student1g = studengt1;
            studengt1.Name = "lnPorproveGeuitey:";
            studengt1.Age = 16;
            Console.WriteLine("Name:{0}", student1g.Name);
            Console.WriteLine("age:{0}{1}", age, " ??? ;");
            Console.WriteLine("age_vAa:{0}", student1g.Age);
            Console.ReadLine();
        }
    }
}
